AM_CFLAGS                     = $(FSAL_CFLAGS) $(SEC_CFLAGS)


noinst_LTLIBRARIES            = libsal.la

#check_PROGRAMS                = test_cache_inode test_cache_inode_readlink \
#                                test_cache_inode_readdir test_cache_inode_lookup 

libsal_la_SOURCES = state_async.c                    \
                    state_lock.c                     \
                    state_share.c                    \
                    state_misc.c                     \
                    nfs4_clientid.c                  \
                    nfs4_state.c                     \
                    nfs4_state_id.c                  \
                    nfs4_owner.c                     \
                    nfs4_lease.c                     \
                    nfs4_recovery.c                  \
                    ../include/HashData.h            \
                    ../include/HashTable.h           \
                    ../include/cache_inode.h         \
                    ../include/config.h              \
                    ../include/err_cache_inode.h     \
                    ../include/fsal.h                \
                    ../include/fsal_types.h          \
                    ../include/log.h       \
                    ../include/nfs4.h                \
                    ../include/nfs_core.h            \
                    ../include/nfs_exports.h         \
                    ../include/nfs_file_handle.h     \
                    ../include/nfs_proto_functions.h \
                    ../include/nfs_tools.h           \
                    ../include/nlm4.h                \
                    ../include/nlm_util.h            \
                    ../include/nsm.h                 \
                    ../include/ganesha_rpc.h         \
                    ../include/sal_data.h            \
                    ../include/sal_functions.h       \
                    ../include/nfs4rec.h

if USE_NLM
libsal_la_SOURCES += nlm_owner.c
endif

if USE_9P
libsal_la_SOURCES += 9p_owner.c
endif

if USE_PNFS_MDS
libsal_la_SOURCES += state_layout.c
endif

if USE_NFS4_1
libsal_la_SOURCES += nfs41_session_id.c 
endif

new: clean all

